package router

import "github.com/gin-gonic/gin"

func Router(r *gin.Engine) {
	router := r.Group("v1")
	{
		//用户模块
		UserRouter(router)
		//攻略模块
		TravelRouter(router)
		//发表评论模块
		CommitRouter(router)
		//im模块
		ChatRouter(router)
		//好友模块
		FriendRouter(router)
	}
}
